package com.cigs.wcs00a.view.controller;


import com.cigs.wcs00a.opcua.selfunion.UAService;
import com.cigs.wcs00a.view.entity.ViewInfomation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/12 15:15
 * @Version 1.0
 */
@RestController
@RequestMapping("/view")
public class ViewController {


    @Autowired
    UAService uaService;



    //获取可视化所需的 所有信息 ,, 前端会定期轮询这个接口
    @PostMapping("/getAllInfo")
    public ViewInfomation getAllInfo() {
        ViewInfomation viewInfomation = new ViewInfomation();


        return viewInfomation;
    }

}
